<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/admin.css" />
<script language="javascript" src="<?=gurl('js');?>/jq.js"></script>
<script language="javascript" src="<?=gurl('js');?>/common.js"></script>
</head>
<body>
	<h3 style="background:#E5ECF3; padding:5px; font-size:12px;">> <a href="<?=site_url(rnadminpath().'/main/show/main');?>">首页</a> > <a href="#">评论列表</a></h3>
	<div style="margin-top:10px;padding:5px;border:1px solid #9FACB7;width:360px;float:left;">
		<h4 style="color:red;margin-bottom:10px;">观点一：<?=$row["viewpoint1"];?>(<?=$row["viewcount1"];?>)</h4>
		<? if(is_array($items) && count($items)>0):?>
		<? foreach ($items as $item):?>
		<ul>
			<li><?=$item["userinfo"]["username"];?>: 
			<?=$item['content'];?>
			(<?=date("Y-m-d H:i",$item['addtime']);?>)</li>
			<li class="lastitem">
				<a href="<?=site_url(rnadminpath().'/special/deletecomment/'.$dataid.'/'.$item['id']);?>"  onclick="return confirm('确认删除吗');">删除</a>
			</li>
		</ul>
		<div class="clear"></div>
		<? endforeach;?>
		<? endif;?>
	</div>
	
	
	<div style="margin-top:10px;padding:5px;border:1px solid #9FACB7;width:360px;float:right;">
		<h4 style="color:green;margin-bottom:10px;">观点二：<?=$row["viewpoint2"];?>(<?=$row["viewcount2"];?>)</h4>
		<? if(is_array($items2) && count($items2)>0):?>
		<? foreach ($items2 as $item):?>
		<ul style="margin-bottom:10px;">
			<li><?=$item["userinfo"]["username"];?>: 
			<?=$item['content'];?>
			(<?=date("Y-m-d H:i",$item['addtime']);?>)</li>
			<li class="lastitem">
				<a href="<?=site_url(rnadminpath().'/special/deletecomment/'.$dataid.'/'.$item['id']);?>"  onclick="return confirm('确认删除吗');">删除</a>
			</li>
		</ul>
		<div class="clear"></div>
		<? endforeach;?>
		<? endif;?>
	</div>
	
	
	<div class="clear"></div>
	<div style="padding:5px;margin-top:10px;text-align:left;">
		<input type="button" onClick="window.history.go(-1);" value="返回">
	</div>
	<div class="pagestring">
		<?=$pagestring;?>
	</div>
</body>
</html>
